using Hhmocon.Mes.DataBase;
using System;

namespace Hhmocon.Mes.Repository.Domain
{
    /// <summary>
    /// 配电表
    /// </summary>
    [Table(TableName= "elec_distribution_meter", KeyName= "elect_distribution_meter_id", IsIdentity = false)]
    public class elec_distribution_meter
    {
        /// <summary>
        /// 配电表id
        /// </summary>
        public string elect_distribution_meter_id { get; set; }

        /// <summary>
        /// 能耗数据ID
        /// </summary>
        public string energy_consumption_id { get; set; }

        /// <summary>
        /// 购电量（电网）
        /// </summary>
        public int grid_purchased_electricity { get; set; }

        /// <summary>
        /// 能耗日期
        /// </summary>
        public DateTime consumption_date { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int delete_mark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string create_by { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string create_by_name { get; set; }

        /// <summary>
        /// 修改人时间
        /// </summary>
        public DateTime modified_time { get; set; }

        /// <summary>
        /// 修改人ID
        /// </summary>
        public string modified_by { get; set; }

        /// <summary>
        /// 有功量（电网）
        /// </summary>
        public int grid_active_energy { get; set; }

        /// <summary>
        /// 无功量（电网）
        /// </summary>
        public int grid_reactive_energy { get; set; }

        /// <summary>
        /// 峰电量（电网）
        /// </summary>
        public int grid_peak_power { get; set; }

        /// <summary>
        /// 尖电量（电网）
        /// </summary>
        public int grid_sharp_power { get; set; }

        /// <summary>
        /// 谷电量（电网）
        /// </summary>
        public int grid_valley_power { get; set; }

        /// <summary>
        /// 最大需量（电网）
        /// </summary>
        public int grid_maximum_demand { get; set; }

        /// <summary>
        /// 总发电量（光伏）
        /// </summary>
        public int pho_power_generation_total { get; set; }

        /// <summary>
        /// 尖发电量（光伏）
        /// </summary>
        public int pho_sharp_power_generation { get; set; }

        /// <summary>
        /// 谷发电量（光伏）
        /// </summary>
        public int pho_valley_power_generation { get; set; }

        /// <summary>
        /// 上网电量（光伏）
        /// </summary>
        public int pho_on_grid_power { get; set; }

        /// <summary>
        /// 自发自用电量（光伏）
        /// </summary>
        public int pho_selfuse_power { get; set; }

        /// <summary>
        /// 峰电量(光伏)
        /// </summary>
        public int pho_peak_charge_powewr { get; set; }


        /// <summary>
        /// 充电峰量（储能）
        /// </summary>
        public int stor_peak_charge_powewr { get; set; }

        /// <summary>
        /// 充电尖量（储能）
        /// </summary>
        public int stor_sharp_charge_powewr { get; set; }

        /// <summary>
        /// 充电谷量（储能）
        /// </summary>
        public int stor_valley_charge_powewr { get; set; }

        /// <summary>
        /// 充电总量（储能）
        /// </summary>
        public int stor_charge_powewr_total { get; set; }

        /// <summary>
        /// 放电总量（储能）
        /// </summary>
        public int stor_discharge_powewr_total { get; set; }

        /// <summary>
        /// 放电峰量（储能）
        /// </summary>
        public int stor_peak_discharge_powewr { get; set; }

        /// <summary>
        /// 放电尖量（储能）
        /// </summary>
        public int stor_sharp_discharge_powewr { get; set; }

        /// <summary>
        /// 放电谷量（储能）
        /// </summary>
        public int stor_valley_discharge_powewr { get; set; }

        /// <summary>
        /// 最大需量（储能-充电）
        /// </summary>
        public int stor_maximum_demand { get; set; }

        /// <summary>
        /// 最大需量（储能-放电）
        /// </summary>
        public int stor_maximum_demand_dicharge { get; set; }

        /// <summary>
        /// 当前电价
        /// </summary>
        public int current_electricity_price { get; set; }
    }
}
